package com.leo.blog.dto;

import java.io.InputStream;

public class ImageHolder {

	//图片文件名称
	private String imageName;
	//图片路径
	private InputStream image;

	//构造器
	public ImageHolder(String imageName, InputStream image) {
		this.imageName = imageName;
		this.image = image;
	}

	public String getImageName() {
		return imageName;
	}

	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

	public InputStream getImage() {
		return image;
	}

	public void setImage(InputStream image) {
		this.image = image;
	}

}
